<?php
/**
 * Interface for Singleton classes
 * @author Alecsandru Gabriel DINU
 * @since Jun 12, 2008
 */
if (!interface_exists('Singleton_Interface')) {
	/**
	 * Define interface singleton
	 */
	interface Singleton_Interface {
		/**
		 * Retrieve the singleton instance
		 * @access public
		 * @static
		 */
		public static function getInstance();

		/**
		 * Override clone method to throw exception
		 * @access public
		 */
		public function __clone();
	}
}